projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1412134
)
Fix bold/black in w32_to_fc_weight
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Oct 2021 12:36:50 +0000
(14:36 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Oct 2021 12:36:50 +0000
(14:36 +0200)
* src/w32font.c (w32_to_fc_weight): Use symbols.
src/w32font.c
patch
|
blob
|
history
diff --git
a/src/w32font.c
b/src/w32font.c
index 885daf930b07f940809391ce6fe51a59a1e53d17..4ceb4302cee2aceaa6c05d69aa00947c5f09098e 100644
(file)
--- a/
src/w32font.c
+++ b/
src/w32font.c
@@
-2000,7
+2000,7
@@
w32_encode_weight (int n)
static Lisp_Object
w32_to_fc_weight (int n)
{
- if (n >= FW_HEAVY) return Qb
old
;
+ if (n >= FW_HEAVY) return Qb
lack
;
if (n >= FW_EXTRABOLD) return Qextra_bold;
if (n >= FW_BOLD) return Qbold;
if (n >= FW_SEMIBOLD) return intern ("demibold");